package com.rfid.a252robot.net;

import com.rfid.a252robot.net.bean.Respon;
import com.rfid.a252robot.net.bean.UploadBook;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.PUT;
import retrofit2.http.Query;

public interface IBoxService {

    @POST("/putaway")
    public Call<Respon> uploadBookBox(@Body UploadBook book);

    @POST("/soldout")
    public Call<Respon> deleteBookBox(@Body UploadBook book);

    @GET("/useclaimCode")
    public Call<Respon> getBookByCode(@Query("claimCode")String claimCode);
}
